{template "content","head","sysx_m"}
<div class="bg pad15">
    <div class="nytitle"><a href="/" target="_blank">首页</a>
        {catpos($catid,$s='>')}
    </div>
    <div class="nytitle" style="background: none;color:#fff;height: auto;margin-left:auto;padding: 0 2% 1% 2%">
        {pc:content action="category" catid="1" order="listorder asc"}
        {loop $data $r}
        <a  href="{$r[url]}" class="layui-btn layui-btn-mini" style="display:inline-block;width:24%;color:#fff;background:#ccc;margin-top: 5px;margin-left:0 !important;{if $catid==$r[catid]}background-color:#2f82ff;color:#fff{/if}">{$r[catname]}</a>
        {/loop}
        {/pc}
    </div>

    <div class="right_main" style="width: 90%;margin:auto">
        <div class="agent_con">
            <div class="age_li_about">
                  <h2 style="font-weight: 600;font-size: 25px">{$title}</h2>
                   {if $content}
						{$content}
						{else}
						{pc:content action="category" catid="$catid" order="listorder asc" num="1"}
						{loop $data $r}
						{pc:get sql="select content from sy_page where catid=$r[catid]" return="data1"}
						{$data1[0][content]}
						{/pc}
						{/loop}

						{/pc}
						{/if}
            </div>
        </div>
    </div>
    
	{template "content","tj_news","sysx_m"}
	{template "content","tj_pro","sysx_m"}
    {template "content","foot","sysx_m"}